import { BookOutlined, ReadOutlined, ScheduleOutlined, SisternodeOutlined, PictureOutlined } from "@ant-design/icons-vue"
import { useRouteNameToPage, useRoutePathToPage } from "@u/router"
export const showIndexViewConfig = {
    avatar: {
        src: require("@a/img/李欢儿.jpg"),
    },
    title: "李欢儿",
    subTitle: "没想到吧，我盗图了",
    notBackWhiteList: ["ShowDiary"],
    homePath: "/show/diary/1",
    buttonGroup: [
        {
            text: "日记",
            icon: <BookOutlined />,
            handler: useRoutePathToPage("/show/diary/1")
        },
        {
            text: "随笔",
            icon: <ReadOutlined />,
            handler: useRoutePathToPage("/show/book/1")
        },
        {
            text: "相册",
            icon: <PictureOutlined />,
            handler: useRouteNameToPage("ShowPhoto")
        },
        {
            text: "归档",
            icon: <SisternodeOutlined />,
            handler: useRouteNameToPage("ShowFile")
        },
        {
            text: "大事记",
            icon: <ScheduleOutlined />,
            handler: useRouteNameToPage("ShowMemory")
        }
    ]
}